package com.zzyl.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * @Description ReversationLRestCountVo
 * @Author loe
 * @Date 2024-07-12
 */

@Data
@ApiModel(description = "每个时间段剩余预约次数")
public class ReservationRestCountVo {

    @ApiModelProperty(value = "时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime time;

    @ApiModelProperty(value = "剩余预约次数")
    private Integer count;
}
